import { createRouter, createWebHashHistory } from 'vue-router';
export default createRouter({
    history: createWebHashHistory(),
    routes: [
        { path: '/', redirect: '/login' },
        { path: '/register', component: () => import('@/views/RegisterView.vue') },
        { path: '/login', component: () => import('@/views/LoginView.vue') },
        { path: '/todo', component: () => import('@/views/TodoPage.vue') },
    ],
});
